package com.gpframework.module.wages.service;

import com.gpframework.module.wages.domain.GzMonthlyLeave;
import com.gpframework.module.wages.domain.vo.GzMonthlyLeaveVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;

import java.time.LocalDate;
import java.util.Date;
import java.util.List;
/**
 * @ClassName GzMonthlyLeave
 * @Author gpframework
 * @Date 2024-01-18
 * @Version 1.0.0
 * @Description 月度休假Service接口
 */
public interface IGzMonthlyLeaveService extends IService<GzMonthlyLeave> {

    /**
     * @Description 查询列表返回VO 用于返回给前端的列表接口
     * @Author gpframework
     * @Date 2024-01-18
     * @Param [lqw]
     * @Return List<GzMonthlyLeaveVo>
     */
    List<GzMonthlyLeaveVo> listVo(QueryWrapper<GzMonthlyLeave> lqw);

    /**
     * @Description 通过查询详情VO 用于返回给前端的列详情接口
     * @Author gpframework
     * @Date 2024-01-18
     * @Param [id]
     * @Return GzMonthlyLeaveVo
     */
    GzMonthlyLeaveVo getVoById(Long id);


    void delelteMonth(Date yearMonth);
}
